package com.campuscarbooking.api;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;

@SpringBootApplication
@EntityScan("com.campuscarbooking.api.model")
@EnableJpaRepositories("com.campuscarbooking.api.repository")
@EnableScheduling
@EnableRabbit
public class CampusCarBookingApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(CampusCarBookingApplication.class, args);
    }
} 